FilterData

class FilterData(val key: String, val name: String, val filterType: FilterData.Type, val items: List<FilterItem>)(source)

Represents a filter section, each one contains a list of options, the behavior is controlled by the filterType which change the options between a list of checkboxes and radio buttons, when the filters are applied by the user the app will detect the differences between the filters and will return only the changed sections.

Constructors

Link copied to clipboard
constructor(key: String, name: String, filterType: FilterData.Type, items: List<FilterItem>)

Types

Link copied to clipboard

Filter selection type, SINGLE/MULTIPLE

Properties

Link copied to clipboard

The selection type of the filter

Link copied to clipboard

The list of options for the filter

Link copied to clipboard
val key: String

The key that identifies the filter

Link copied to clipboard

The name of the filter